package t327.mapper;

import t327.pojo.Contract;
import t327.pojo.OrderForm;

import java.util.List;

public interface ContractMapper {
    //查询所有合同
    List<Contract> queryAll();
    //查询订单
    List<OrderForm> queryOrder();
    //新增合同
    int addContract(Contract contract);

    int updateContract(String contractNumber);

    int updateContractPay(Long contractId);
}
